using FytSoa.Common.Enum;
using FytSoa.Common.Param;

namespace FytSoa.Application.Erp.Param;

/// <summary>
/// 生产订单任务状态变更参数
/// </summary>
public class ErpOrderCraftStatusParam
{
    public long Id { get; set; }

    public int Status { get; set; }
}

public class ErpOrderCraftSearchParam : PageParam
{
    /// <summary>
    /// 生产阶段
    /// </summary>
    public ErpProducePhaseEnum Phase { get; set; } = 0;
    
    /// <summary>
    /// 驳回
    /// </summary>
    public int Reject { get; set; } = -1;

    /// <summary>
    /// 项目审核
    /// </summary>
    public ErpAuditEnum Audit { get; set; } = 0;

    /// <summary>
    /// 根据产品搜索
    /// </summary>
    public long ProductId { get; set; } = 0;
}

